﻿@{
    Layout = null;
}
@model MyBlog.WebUI.Models.User
      
@using (Html.BeginForm("Login","Admin",FormMethod.Post)){

     @Html.AntiForgeryToken()
        
    @Html.TextBoxFor(m=>m.userName) 
        @Html.ValidationMessageFor(m=>m.userName)<br>
    @Html.PasswordFor(m=>m.userPassword)
        @Html.ValidationMessageFor(m=>m.userPassword)<br>
    <input  type="submit"  value="登陆"/>
     
}

@Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
